using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Diagnostics;

namespace Watchdog2007 {

    [DebuggerNonUserCode ( )]
    public class ScheduleBase : Dal.DalSchedule {

        internal ScheduleBase(int id)
            : base(id) {
        }

        internal ScheduleBase ( DataRow drow )
            : base ( drow ) {
        }

        internal WatchdogSchedule Type {
            get { return WatchdogSchedule.Daily; }
        }

        public new bool Paused {
            get { return base.Paused; }
            set { base.Paused = value; }
        }
        public new DateTime DateStart {
            get {
                return base.DateStart;
            }
            set {
                base.DateStart = value;
            }
        }
        public new  DateTime DateStop {
            get {
                return base.DateStop;
            }
            set {
                base.DateStop = value;
            }
        }
        public new string HourStart {
            get {
                return base.HourStart;
            }
            set {
                base.HourStart = value;
            }
        }
        public new string HourStop {
            get {
                return base.HourStop;
            }
            set {
                base.HourStop = value;
            }
        }
        public new WatchdogScheduleRepeatInterval RepeatType {
            get {
                return (WatchdogScheduleRepeatInterval)base.RepeatType;
            }
            set {
                base.RepeatType = value.GetHashCode();
            }
        }
        public new int RepeatInterval {
            get {
                return base.RepeatInterval;
            }
            set {
                base.RepeatInterval = value;
            }
        }
        public new DateTime NextRun {
            get { return base.NextRun; }
            set { base.NextRun = value; }
        }
        public new DateTime LastRun {
            get { return base.LastRun; }
            set { base.LastRun = value; }
        }
        public DateTime GetNextExecuteTime() {
            throw new System.NotImplementedException();
        }

    }
}
